import 'package:get/get.dart';
import 'package:my_app/app/modules/cell/cell_page.dart';
import 'package:my_app/app/modules/dialog/dialog_page.dart';
import 'package:my_app/app/modules/dio_tool/dio_tool_page.dart';
import 'package:my_app/app/modules/empty/empty_page.dart';
import 'package:my_app/app/modules/expandable_fab/expandable_fab_page.dart';
import 'package:my_app/app/modules/getx_tool/getx_tool_page.dart';
import 'package:my_app/app/modules/image_tool/image_tool_page.dart';
import 'package:my_app/app/modules/image_widget/image_widget_page.dart';
import 'package:my_app/app/modules/parallax/parallax_page.dart';
import 'package:my_app/app/modules/permission_tool/permission_tool_page.dart';
import 'package:my_app/app/modules/picker/picker_page.dart';
import 'package:my_app/app/modules/shared_preferences_tool/shared_preferences_tool_page.dart';
import 'package:my_app/app/modules/shimmer/shimmer_page.dart';
import 'package:my_app/app/modules/staggered_menu/staggered_menu_page.dart';
import 'package:my_app/app/modules/tag/tag_page.dart';
part './routes.dart';

/// pages.dart
///
/// Created by fuchuanwei on Tue Feb 21 2023.
///
/// Description: App 所有页面
///
abstract class AppPages {
  static final pages = <GetPage<dynamic>>[
    GetPage(
      name: Routes.GETX,
      page: () => GetxToolPage(),
    ),
    GetPage(
      name: Routes.IMAGE_WIDGET,
      page: () => ImageWidgetPage(),
    ),
    GetPage(
      name: Routes.SHIMMER,
      page: () => ShimmerPage(),
    ),
    GetPage(
      name: Routes.PARALLAX,
      page: () => ParallaxPage(),
    ),
    GetPage(
      name: Routes.STAGGERED_MENU,
      page: () => StaggeredMenuPage(),
    ),
    GetPage(
      name: Routes.EXPANDABLE_FAB,
      page: () => ExpandableFabPage(),
    ),
    GetPage(
      name: Routes.DIO,
      page: () => DioToolPage(),
    ),
    GetPage(
      name: Routes.SHARED_PREFERENCES,
      page: () => SharedPreferencesToolPage(),
    ),
    GetPage(
      name: Routes.DIALOG,
      page: () => DialogPage(),
    ),
    GetPage(
      name: Routes.PERMISSION,
      page: () => PermissionPage(),
    ),
    GetPage(
      name: Routes.PICKER,
      page: () => PickerPage(),
    ),
    GetPage(
      name: Routes.IMAGE_TOOL,
      page: () => ImageToolPage(),
    ),
    GetPage(
      name: Routes.EMPTY,
      page: () => EmptyPage(),
    ),
    GetPage(
      name: Routes.CELL,
      page: () => CellPage(),
    ),
    GetPage(
      name: Routes.TAG,
      page: () => TagPage(),
    ),
  ];
}
